package com.itheima.boottlias.mapper;

import com.itheima.boottlias.domain.pojo.EmpExpr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 工作经历持久层接口
 * @author ghy
 * @version 1.0
 * @since 2025-07-12 10:05
 */
@Mapper
public interface EmpExprMapper {

    /**
     * 批量保存
     * @param exprList
     */
    Integer insertBatch(@Param("exprList") List<EmpExpr> exprList);

    /**
     * 根据员工ID批量删除
     * @param empIds
     */
    void deleteByEmpIds(@Param("empIds") Integer[] empIds);
}
